public class Dog extends Anmail {
    public static String name;
    private int age;
    public Dog() {
        System.out.println(2222);
    }

    public Dog(int age) {
        super();
        this.age = age;
    }

    public static void main(String[] args) {
        Anmail dog = new Dog(22);

    }
    public void method(){
        Anmail dog = new Dog(22);
    }
}
